package com.ifeedme.rocketremote
{
	/**
	 * 
	 * @Jim Hayes (www.ifeedme.com) may 2007
	 * IPrefsObject provides an interface to whichever object we use to read and write application preferences to/from permanent storage
	 */	
	public interface IPrefsObject
	{
		/**
		 * read all the preferences records
		 */		
		function readPrefs():void;
		
		/**
		* write the frontends records to permanent storage
		*/		
		function writePrefs(str:String):void;
		
		/**
		* write the keymap record to permanent storage
		*/
		function writeKeyMap(keyMapXml:XML):void;
		
		/**
		* property to get the keymap XML
		*/
		function get keyMapXml():XML;
		
		/**
		* property to get the frontends XML
		*/
		function get frontends():XML
				
				
	}
}